-- cure_add
-- Created by zhuangsl Nov/28/2016
-- 提升治疗效果
-- 100 代表提高10%

return {
    -- 空属性
    getEmptyProp = function()
        return 0;
    end,

    -- 合并属性
    mergeSkyProp = function(data, addon)
        local result = {};

        if not data then
            result = addon;
        else
            result = addon + (data or 0);
        end

        return result;
    end,

    getDesc = function(desc, data)
        local desc = getLocStr("shipskill_cure_add");
        desc = string.gsub(desc, "{rate}", math.modf(data / 10), 1);
        return desc;
    end,
};